package com.foreveredu.propms.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description:<br/>
 * 领域模型：部门类<br/>
 * Date:<br/>
 * 2013/3/2<br/>
 * @author hushigang 
 */

@Entity
@Table(name="T_Department")
public class Department implements Serializable {


	private static final long serialVersionUID = 1L;
	private int id;
	private String deptId;//部门编号
	private String deptName;//部门名称
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)			
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Column
	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	@Column
	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}


	
}
